package com.yenlien.traceyun.control.entity;

import com.yenlien.traceyun.webase.entity.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "t_control_accredit_company")
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class AccreditCompany extends BaseEntity {

    @Column(name = "accreditId", length = 50)
    private String accreditId;              //授权id

    @Column(name = "companyName", length = 50)
    private String companyName;              //公司名字

    @Column(name = "companyId", length = 50)
    private String companyId;               //公司id
}
